package org.example.system.service.impl;

import com.github.binarywang.wxpay.exception.WxPayException;
import jakarta.servlet.http.HttpServletRequest;
import org.example.system.common.enums.PayTypeEnum;
import org.example.system.common.result.Result;
import org.example.system.model.form.OrderForm;
import org.example.system.service.PaymentStrategy;
import org.springframework.stereotype.Service;

@Service
public class AliPayStrategy implements PaymentStrategy{

    @Override
    public Result prePay(String orderSn, HttpServletRequest request) throws WxPayException {
        return Result.success("暂未实现支付宝支付功能！");
    }

    @Override
    public PayTypeEnum getPayChannel() {
        return PayTypeEnum.ALI_PAY;
    }
}
